import React,{ Component } from 'react';

class View extends Component {

    // propsFn(e){
    //     this.props.callback(e)
    // }
    printLog(e){
        this.props.callback(e,'222')
    }
    render(){
        console.log(this.props);
        return(
            <div className="h3">
                <h3 onClick={(e)=>this.printLog(e)}>{this.props.title}
                &nbsp;{this.props.children}
                </h3>
                {/*
                    &nbsp;
                    $copy;
                    &yen;
                    &lt;&gt;
                    <a href="true">更多&lt;&lt;</a>
                */}
                {this.props.more}
            </div>
        )
    }
}

export default View;
